package com.ctms.system.service.impl;

import com.ctms.system.dao.ShiPinMapper;
import com.ctms.system.domain.ShipinDO;
import com.ctms.system.service.ShiPinService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ShiPinServiceImpl implements ShiPinService {
    @Autowired
    ShiPinMapper shiPinMapper;

    @Override
    public int insertUrl(String name, String lujing, String url) {
        return shiPinMapper.insertUrl(name,lujing,url);
    }

    @Override
    public List<ShipinDO> selectShipin() {
        return shiPinMapper.selectShipin();
    }
}
